package cn.iocoder.yudao.module.system.controller.admin.cp.vo;

import cn.iocoder.yudao.module.system.controller.admin.user.vo.user.UserPageReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author pg
 * @project zysx
 * @description 获取打卡信息请求类
 * @date 2024/3/29 10:00:58
 */
@Schema(description = "管理后台 - 打卡数据 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class WxCpCheckinDataReqVO extends UserPageReqVO {

    @Schema(description = "开始时间", example = "2024-03-01 00:00:00")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date startTime;

    @Schema(description = "结束时间", example = "2024-03-29 00:00:00")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date endTime;

}
